package cn.tedu.serviceEdu.service;

import cn.tedu.serviceEdu.entity.EduChapter;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 课程 服务类
 * </p>
 *
 * @author hong
 * @since 2023-05-18
 */
public interface EduChapterService extends IService<EduChapter> {

    List<EduChapter> getChapterList(String courseId);

    boolean removeByCourseId(String id);

    List<EduChapter> nestedList(String courseId);
}
